package com.douqu.game.auth.database.mapper;

import com.douqu.game.auth.database.model.CdkDetailModel;
import org.apache.ibatis.annotations.Param;

/**
 * @author: miracle.
 * Description:
 * Date: 2018/4/13 0013 下午 5:01
 * Huan Yu Copyright (c) 2017 All Rights Reserved.
 */
public interface CdkDetailMapper {

    CdkDetailModel findByCode(@Param("code")String code);

    int useCdk(@Param("id")Integer id);
}
